Skip to content

DOC: how to revert MultiIndex.to_flat_index #38911

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 4, 2021

Conversation

adamjstewart
Copy link
Contributor

Took me way too long to figure this out. Hopefully this benefits someone else!

Copy link
Member

@arw2019 arw2019 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR!

Some formatting changes needed based on the CI run:

Error: /home/runner/work/pandas/pandas/pandas/core/indexes/multi.py:1779:GL07:pandas.MultiIndex.to_flat_index:Sections are in the wrong order. Correct order is: Returns, See Also, Notes, Examples
  warnings.warn(
Error: /home/runner/work/pandas/pandas/pandas/core/indexes/multi.py:1779:SA02:pandas.MultiIndex.to_flat_index:Missing period at end of description for See Also "MultiIndex.from_tuples" reference

Copy link
Member

@MarcoGorelli MarcoGorelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks @adamjstewart !

@MarcoGorelli MarcoGorelli added this to the 1.3 milestone Jan 3, 2021
@jreback jreback merged commit 8e3ba92 into pandas-dev:master Jan 4, 2021
@jreback
Copy link
Contributor

jreback commented Jan 4, 2021

thanks @adamjstewart

@adamjstewart adamjstewart deleted the docs/to-flat-index branch January 4, 2021 01:12
luckyvs1 pushed a commit to luckyvs1/pandas that referenced this pull request Jan 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants